# for a in range(1, 10):
#     for b in range(10 - a):
#         print("*", end="")
#     print()

for a in range(10, 0, -1):
    for b in range(1, a):
        print("*", end="")
    print()
